#include "RandomServer.h"

RandomServer::RandomServer(Random* random)
{
    this->random = random;
    this->freeTime = 0;
}
void RandomServer::Serve(double startTime)
{
    this->freeTime = startTime + random->Next();
}

double RandomServer::FreeTime()
{
    return this->freeTime;
}
